package com.gxa.community.core.pojo.dto.bill.storage;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 *
 * @author juran
 * @since 2022-07-19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "Bill对象", description = "对账管理")
public class BillStorageDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("流水号")
    private String no;

    @ApiModelProperty("账单类型/1-支付账单/2-售后账单")
    private Integer type;

    @ApiModelProperty("订单编号")
    private String orderNo;

    @ApiModelProperty("订单金额")
    private Double orderAmount;

    @ApiModelProperty("结算佣金")
    private BigDecimal commission;

    @ApiModelProperty("账单时间")
    private Long time;
}
